package com.rapid.maintenance.ui.activity.paimai;

import android.view.View;

import com.rapid.maintenance.R;
import com.rapid.maintenance.base.BaseActivity;

import butterknife.OnClick;

/**
 * 拍卖商场首页
 * */
public class PaimaiMallActivity extends BaseActivity {
    @Override
    protected int provideRootLayout() {
        return R.layout.activity_paimai_mall;
    }

    @Override
    protected void init() {
        setTitle("拍卖商城首页");
    }

    @OnClick({R.id.tv_kaixinjianlou,R.id.tv_ershoushebei,R.id.tv_tejiashangcheng,R.id.tv_zhenghuoqingcang
    ,R.id.ll_to_paimai,R.id.ll_paimai_in})
    public void onClick(View view){
        switch (view.getId()){
            case R.id.tv_kaixinjianlou:
                startActivity(KaixinJianlouAcktivity.class);
                break;
            case R.id.tv_ershoushebei:
                startActivity(ErshouMallActivity.class);
                break;
            case R.id.tv_zhenghuoqingcang:
                startActivity(ZhenghuoqingcangMallActivity.class);
                break;
            case R.id.tv_tejiashangcheng:
                startActivity(TejiaMallActivity.class);
                break;
            case R.id.ll_to_paimai:
            case R.id.ll_paimai_in:
                startActivity(PaimaiListMallActivity.class);
                break;
        }
    }
}
